package entity.innerClass.lianxi.demo01;

public class MainTest {
    public static void main(String[] args) {
        ArithMetic ar = new ArithMetic() {
            @Override
            public void Shun(String type, int num1, int num2) {
                int c = 15;
                int z = 6;
                switch (type){
                    case "-":
                        int i = c - z;
                        break;
                    case "+":
                        int j = c - z;
                        break;
                    case "*":
                        int k = c - z;
                        break;
                    case "/":
                        int l = c - z;
                        break;
                }
            }
        };
    }
}
